<?php

include_once('operacionesBD.php');

class User
{

    private $userid;
    private $username;
    private $password;
    private $mail;

     public function __construct($userid, $username, $password, $mail) {
        $this->userid = $userid;
        $this->username = $username;
        $this->password = $password;
        $this->mail = $mail;
    }

    public function get_userid() {
        return $this->userid;
    }
    
    public function set_userid($userid) {
        $this->userid = $userid;
    }

    public function set_password($password) {
        $this->password = $password;
    }

    public function get_username() {
        return $this->username;
    }

    public function get_password() {
        return $this->password;
    }

    public function get_mail() {
        return $this->mail;
    }
    
}

?>
